﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.WarehouseManage.RelocationServices.Dto
{
    public class ProductListDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        [MaxLength(50)]
        public string? ProductCode { get; set; }
        /// <summary>
        /// 产品名称 
        /// </summary>
        [MaxLength(50)]
        public string? ProductName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        [MaxLength(50)]
        public string? Specs { get; set; }
        /// <summary>
        /// 存储单位
        /// </summary>
        public int UnitId { get; set; }
        public string? UnitName { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int BuyNumber { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal SumPrice { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public int ProductTypeId { get; set; }

        /// <summary>
        /// 类别名称
        /// </summary>
        public string? CategoryName { get; set; }

        /// <summary>
        /// 重量
        /// </summary>
        public string? Weight { get; set; }
        /// <summary>
        /// 包装类型
        /// </summary>
        public string? PackageType { get; set; }
        /// <summary>
        /// 原仓库Id
        /// </summary>
        public int WarehouseId { get; set; }
        public string? OldWarehouseName { get; set; }
        /// <summary>
        /// 原库位Id
        /// </summary>
        public int OriginallocationId { get; set; }
        public string? OldLocationName { get; set; }
        /// <summary>
        /// 移入仓库Id
        /// </summary>
        public int MoveNewWareHouseId { get; set; }
        public string? NewWarehouseName { get; set; }
        /// <summary>
        /// 移入库位Id
        /// </summary>
        public int MoveLocationId { get; set; }
        public string? NewLocationName { get; set; }
    }
}
